﻿
using Entity;
using IService;
using Service;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bussiness
{
    /// <summary>
    /// 服务帮助类
    /// </summary>
    public class ServiceHelp
    {
        #region SYS
        /// <summary>
        /// 获取用户服务
        /// </summary>
        public static IUserService GetUserService { get => new UserService(); }
        /// <summary>
        /// 获取日志服务
        /// </summary>
        public static LogService GetLogService { get => new LogService(); }

        /// <summary>
        /// 获取角色服务
        /// </summary>
        public static IRoleService GetRoleService { get => new RoleService(); }
        /// <summary>
        /// 获取菜单服务
        /// </summary>
        public static IMenuService GetMenuService { get => new MenuService(); }
        /// <summary>
        /// 获取用户扩展信息服务
        /// </summary>
        public static IUserInfoService GetUserInfoService { get => new UserInfoService(); }
        /// <summary>
        /// 获取附件服务
        /// </summary>
        public static IAttachmentService GetAttachmentService { get => new AttachmentService(); }
        /// <summary>
        /// 获取系统配置服务
        /// </summary>
        public static ISysConfigurationService GetSysConfigurationService { get => new SysConfigurationService(); }
        #endregion

        #region project
        ///// <summary>
        ///// 获取牌局记录
        ///// </summary>
        //public static IGameRecordService GetGameRecordService { get => new GameRecordService(); }
        #endregion

    }
}
